#include <stdio.h>
#include <unistd.h>
#include <string.h>

const char* str1 = "C library: fputs\n";
const char* str2 = "system call: write\n";
int main()
{
    printf("C library: printf\n");
    fprintf(stdout, "C library: fprintf\n");
    fputs(str1, stdout);
    write(1, str2, strlen(str2));
    fork();
    return 0;
}
